package com.ljfiction.book.Baner;

import com.ljfiction.book.readview.Base;

import java.io.Serializable;
import java.util.List;

/**
 * Created by admin on 2017/8/21.
 */

public class Bookchapters extends Base{

    /**
     * returnCode : 200
     * msg : 数据加载成功！
     * data : {"chapterInfo":[{"volumeName":"第一卷","volumeId":1,"resultList":[{"chapterLength":1000,"commentJurisdiction":0,"releaseTime":1503123921000,"chapterIsvip":0,"chapterState":0,"createChapterTime":1503123921000,"bookId":1,"chapterIsfee":0,"authorWords":"继父回家水电费","chapterOrder":0,"chapterId":1,"volumeId":1,"chapterTitle":"第一章","bookWriterId":2,"bookTitle":"佛曰：我很帅","whetherPublic":0},{"chapterLength":415454,"commentJurisdiction":0,"releaseTime":1503124140000,"chapterIsvip":0,"chapterState":0,"createChapterTime":1503124140000,"bookId":1,"chapterIsfee":0,"authorWords":"收到付款链接开始对方即可","chapterOrder":1,"chapterId":2,"volumeId":1,"chapterTitle":"第二章","bookWriterId":2,"bookTitle":"佛曰：我很帅","whetherPublic":0},{"chapterLength":441521,"commentJurisdiction":0,"releaseTime":1503124143000,"chapterIsvip":0,"chapterState":0,"createChapterTime":1503124143000,"bookId":1,"chapterIsfee":0,"authorWords":"的房价快速的健康","chapterOrder":2,"chapterId":3,"volumeId":1,"chapterTitle":"第三章","bookWriterId":2,"bookTitle":"佛曰：我很帅","whetherPublic":0},{"chapterLength":44545,"commentJurisdiction":0,"releaseTime":1503124145000,"chapterIsvip":0,"chapterState":0,"createChapterTime":1503124145000,"bookId":1,"chapterIsfee":0,"authorWords":"代码，雷锋看到","chapterOrder":3,"chapterId":4,"volumeId":1,"chapterTitle":"第四章","bookWriterId":2,"bookTitle":"佛曰：我很帅","whetherPublic":0}]},{"volumeName":"第二卷","volumeId":2,"resultList":[{"chapterLength":111111,"commentJurisdiction":0,"releaseTime":1503124176000,"chapterIsvip":1,"chapterState":0,"createChapterTime":1503124176000,"bookId":1,"chapterIsfee":0,"authorWords":"0快递费离开的","chapterOrder":4,"chapterId":8,"volumeId":2,"chapterTitle":"第五章","bookWriterId":3,"bookTitle":"佛曰：我很帅","whetherPublic":1},{"chapterLength":1000,"commentJurisdiction":0,"releaseTime":1503124187000,"chapterIsvip":0,"chapterState":0,"createChapterTime":1503124187000,"bookId":1,"chapterIsfee":0,"authorWords":"哈哈哈哈哈哈哈哈","chapterOrder":5,"chapterId":10,"volumeId":2,"chapterTitle":"第六章","bookWriterId":2,"bookTitle":"佛曰：我很帅","whetherPublic":1},{"chapterLength":1000,"commentJurisdiction":0,"releaseTime":1503124187000,"chapterIsvip":0,"chapterState":0,"createChapterTime":1503124187000,"bookId":1,"chapterIsfee":0,"authorWords":"哈哈哈哈哈哈哈哈","chapterOrder":6,"chapterId":12,"volumeId":2,"chapterTitle":"第七章","bookWriterId":2,"bookTitle":"佛曰：我很帅","whetherPublic":1},{"chapterLength":100,"commentJurisdiction":0,"releaseTime":1503124217000,"chapterIsvip":0,"chapterState":0,"createChapterTime":1503124217000,"bookId":1,"chapterIsfee":0,"authorWords":"111111","chapterOrder":7,"chapterId":13,"volumeId":2,"chapterTitle":"第八章","bookWriterId":2,"bookTitle":"佛曰：我很帅","whetherPublic":1}]},{"volumeName":"第三卷","volumeId":3,"resultList":[{"chapterLength":100050,"commentJurisdiction":0,"releaseTime":1503124187000,"chapterIsvip":0,"chapterState":0,"createChapterTime":1503124187000,"bookId":1,"chapterIsfee":0,"authorWords":"哈哈哈","chapterOrder":8,"chapterId":14,"volumeId":3,"chapterTitle":"第九章","bookWriterId":2,"bookTitle":"佛曰：我很帅","whetherPublic":0},{"chapterLength":100050,"commentJurisdiction":0,"releaseTime":1503124187000,"chapterIsvip":0,"chapterState":0,"createChapterTime":1503124187000,"bookId":1,"chapterIsfee":0,"authorWords":"哈哈哈","chapterOrder":9,"chapterId":15,"volumeId":3,"chapterTitle":"第十章","bookWriterId":2,"bookTitle":"佛曰：我很帅","whetherPublic":0},{"chapterLength":100050,"commentJurisdiction":0,"releaseTime":1503124199000,"chapterIsvip":0,"chapterState":0,"createChapterTime":1503124199000,"bookId":1,"chapterIsfee":0,"authorWords":"哈哈哈","chapterOrder":10,"chapterId":16,"volumeId":3,"chapterTitle":"第十一章","bookWriterId":2,"bookTitle":"佛曰：我很帅","whetherPublic":0}]}]}
     */

    private int returnCode;
    private String msg;
    private DataBean data;

    public int getReturnCode() {
        return returnCode;
    }

    public void setReturnCode(int returnCode) {
        this.returnCode = returnCode;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        private List<ChapterInfoBean> chapterInfo;

        public List<ChapterInfoBean> getChapterInfo() {
            return chapterInfo;
        }

        public void setChapterInfo(List<ChapterInfoBean> chapterInfo) {
            this.chapterInfo = chapterInfo;
        }

        public static class ChapterInfoBean implements Serializable{
            /**
             * volumeName : 第一卷
             * volumeId : 1
             * resultList : [{"chapterLength":1000,"commentJurisdiction":0,"releaseTime":1503123921000,"chapterIsvip":0,"chapterState":0,"createChapterTime":1503123921000,"bookId":1,"chapterIsfee":0,"authorWords":"继父回家水电费","chapterOrder":0,"chapterId":1,"volumeId":1,"chapterTitle":"第一章","bookWriterId":2,"bookTitle":"佛曰：我很帅","whetherPublic":0},{"chapterLength":415454,"commentJurisdiction":0,"releaseTime":1503124140000,"chapterIsvip":0,"chapterState":0,"createChapterTime":1503124140000,"bookId":1,"chapterIsfee":0,"authorWords":"收到付款链接开始对方即可","chapterOrder":1,"chapterId":2,"volumeId":1,"chapterTitle":"第二章","bookWriterId":2,"bookTitle":"佛曰：我很帅","whetherPublic":0},{"chapterLength":441521,"commentJurisdiction":0,"releaseTime":1503124143000,"chapterIsvip":0,"chapterState":0,"createChapterTime":1503124143000,"bookId":1,"chapterIsfee":0,"authorWords":"的房价快速的健康","chapterOrder":2,"chapterId":3,"volumeId":1,"chapterTitle":"第三章","bookWriterId":2,"bookTitle":"佛曰：我很帅","whetherPublic":0},{"chapterLength":44545,"commentJurisdiction":0,"releaseTime":1503124145000,"chapterIsvip":0,"chapterState":0,"createChapterTime":1503124145000,"bookId":1,"chapterIsfee":0,"authorWords":"代码，雷锋看到","chapterOrder":3,"chapterId":4,"volumeId":1,"chapterTitle":"第四章","bookWriterId":2,"bookTitle":"佛曰：我很帅","whetherPublic":0}]
             */

            private String volumeName;
            private int volumeId;
            private List<ResultListBean> resultList;

            public String getVolumeName() {
                return volumeName;
            }

            public void setVolumeName(String volumeName) {
                this.volumeName = volumeName;
            }

            public int getVolumeId() {
                return volumeId;
            }

            public void setVolumeId(int volumeId) {
                this.volumeId = volumeId;
            }

            public List<ResultListBean> getResultList() {
                return resultList;
            }

            public void setResultList(List<ResultListBean> resultList) {
                this.resultList = resultList;
            }

            public static class ResultListBean implements Serializable{
                /**
                 * chapterLength : 1000
                 * commentJurisdiction : 0
                 * releaseTime : 1503123921000
                 * chapterIsvip : 0
                 * chapterState : 0
                 * createChapterTime : 1503123921000
                 * bookId : 1
                 * chapterIsfee : 0
                 * authorWords : 继父回家水电费
                 * chapterOrder : 0
                 * chapterId : 1
                 * volumeId : 1
                 *  price: 1842
                 * chapterTitle : 第一章
                 * bookWriterId : 2
                 * bookTitle : 佛曰：我很帅
                 * whetherPublic : 0
                 */

                private int chapterLength;
                private int commentJurisdiction;
                private long releaseTime;
                private int chapterIsvip;
                private int chapterState;
                private long createChapterTime;
                private int bookId;
                private int  price;

                public int getPrice() {
                    return price;
                }

                public void setPrice(int price) {
                    this.price = price;
                }

                public int getId() {
                    return id;
                }

                public void setId(int id) {
                    this.id = id;
                }

                private int chapterIsfee;
                private String authorWords;
                private int chapterOrder;
                private int id;
                private int volumeId;
                private String chapterTitle;
                private int bookWriterId;
                private String bookTitle;
                private int whetherPublic;

                public int getChapterLength() {
                    return chapterLength;
                }

                public void setChapterLength(int chapterLength) {
                    this.chapterLength = chapterLength;
                }

                public int getCommentJurisdiction() {
                    return commentJurisdiction;
                }

                public void setCommentJurisdiction(int commentJurisdiction) {
                    this.commentJurisdiction = commentJurisdiction;
                }

                public long getReleaseTime() {
                    return releaseTime;
                }

                public void setReleaseTime(long releaseTime) {
                    this.releaseTime = releaseTime;
                }

                public int getChapterIsvip() {
                    return chapterIsvip;
                }

                public void setChapterIsvip(int chapterIsvip) {
                    this.chapterIsvip = chapterIsvip;
                }

                public int getChapterState() {
                    return chapterState;
                }

                public void setChapterState(int chapterState) {
                    this.chapterState = chapterState;
                }

                public long getCreateChapterTime() {
                    return createChapterTime;
                }

                public void setCreateChapterTime(long createChapterTime) {
                    this.createChapterTime = createChapterTime;
                }

                public int getBookId() {
                    return bookId;
                }

                public void setBookId(int bookId) {
                    this.bookId = bookId;
                }

                public int getChapterIsfee() {
                    return chapterIsfee;
                }

                public void setChapterIsfee(int chapterIsfee) {
                    this.chapterIsfee = chapterIsfee;
                }

                public String getAuthorWords() {
                    return authorWords;
                }

                public void setAuthorWords(String authorWords) {
                    this.authorWords = authorWords;
                }

                public int getChapterOrder() {
                    return chapterOrder;
                }

                public void setChapterOrder(int chapterOrder) {
                    this.chapterOrder = chapterOrder;
                }

                public int getChapterId() {
                    return id;
                }

                public void setChapterId(int chapterId) {
                    this.id = chapterId;
                }

                public int getVolumeId() {
                    return volumeId;
                }

                public void setVolumeId(int volumeId) {
                    this.volumeId = volumeId;
                }

                public String getChapterTitle() {
                    return chapterTitle;
                }

                public void setChapterTitle(String chapterTitle) {
                    this.chapterTitle = chapterTitle;
                }

                public int getBookWriterId() {
                    return bookWriterId;
                }

                public void setBookWriterId(int bookWriterId) {
                    this.bookWriterId = bookWriterId;
                }

                public String getBookTitle() {
                    return bookTitle;
                }

                public void setBookTitle(String bookTitle) {
                    this.bookTitle = bookTitle;
                }

                public int getWhetherPublic() {
                    return whetherPublic;
                }

                public void setWhetherPublic(int whetherPublic) {
                    this.whetherPublic = whetherPublic;
                }
            }
        }
    }
}
